package com.hdd.biz.painting.service;

import com.hdd.biz.painting.entity.Favour;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 收藏喜欢表 服务类
 * </p>
 *
 * @author fang
 * @since 2021-03-16
 */
public interface FavourService extends IService<Favour> {


    int insertFavour(String userId, String paintingId);

    boolean delFavour(String userId, String paintingId);

    boolean isFavour(String userId, String paintingId);

    int favours(String userId);

    int totalFavour();

    int todayFavour();
}

